import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('player')
export class Player {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name_ch: string;

  @Column()
  name_en: string;

  @Column()
  age: number;

  @Column()
  position: string;

  @Column()
  num: number;

  @Column()
  country: string;
}
